package com.jz.cash.client.dao;

import com.jz.cash.client.entity.RoleConfig;
import com.stip.mybatis.generator.plugin.BaseExample;
import com.stip.mybatis.generator.plugin.GenericMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 可添加自定义查询语句，方便后续扩展
 **/
public interface RoleConfigDao extends GenericMapper<RoleConfig,BaseExample,Long> {
    List<RoleConfig> findAllRolesByUserId(@Param("userId") Long id);
}